import numpy as np

persontype = np.dtype({
    'names': ['name','age','weight'],
    'formats':['S32','i','f']}, align=True)
a = np.array([("Zhang", 32, 75.5), ("Wang", 24, 65.2)], dtype=persontype)